import Vue from 'vue'
import router from './router/router.js'
import mock from './mock/mock.js'
import store from './store/store.js'
import 'bootstrap/dist/css/bootstrap.css'
import axios from 'axios'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import Monitor from './vue/Monitor.vue'
import echarts from 'echarts'


Vue.prototype.$axios = axios
Vue.prototype.$echarts = echarts

Vue.use(ElementUI)

var vm = new Vue({
    el: "#app",
    router,
    mock,
    store,
    axios,
    render: function(createElements) {
        // return createElements(Monitor)
        return createElements(Monitor)
    }
})